package com.xuzimian.globaldemo.mq.rabbitmq.constants;

public interface Config {

    /**
     * MQ服务器连接配置常量
     */
    public static interface MQServerConect {
         /**
         * 默认虚拟空间连接字符串
         */
        public static final String DEFAULT_VIRTUALHOST_CONNECT_URL = "amqp://guest:guest@localhost:5672/auagtddev_dy";
        /**
         * MQ帐号
         */
        public static final String USERNAME = "guest";
        /**
         * MQ密码
         */
        public static final String PASSWORD = "guest";
        /**
         * MQ默认虚拟空间
         */
        public static final String VIRTUALHOST_DEFAULT = "auagtddev_dy";
        /**
         * MQ服务器IP地址
         */
        public static final String HOST = "127.0.0.1";
        /**
         * MQ 服务器端amqp协议口号
         */
        public static final int PORT_AMQP = 5672;
        /**
         * MQ服务器mqtt协议端口号
         */
        public static final int PORT_MQTT = 1883;

        /**
         * 交换机名称
         */
        public static final String EXCHANGE_DEMO_NAME="demo";
        /**
         * 默认通道名
         */
        public static final String QUQUE_DEFAULT_NAME = "default_queue";
        /**
         * 默认RoutingKey
         */
        public static final String ROUTING_KEY_DEFAULT_NAME = "default_routingkey";

        /***
         * 默认测试topic
         */
        public static final String TOPIC_DEFAULT_TEST="default_test";

    }

}